package day07.KeJian;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class Tset02JDK8 {
    public static void main(String[] args) {
        String s = "2020年7月15日 10:55";
        DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy年MM月dd日 HH:mm:ss");
        LocalDateTime localDateTime =LocalDateTime.parse(s,dtf);
        LocalDateTime localDateTime1 = localDateTime.plusDays(1);
        String result = localDateTime1.format(dtf);
        System.out.println(result);
    }
}
